import {WeaTools} from 'ecCom'

export const getTemplateConfig = params => {//获取设置
    return WeaTools.callApi('/api/workrelate/plan/getTemplateConfig', 'POST', params);
}




export const saveTemplateConfig = params => {//保存设置
    return WeaTools.callApi('/api/workrelate/plan/saveTemplateConfig', 'POST', params);
}


export const doReference = params => {//共享
    return WeaTools.callApi('/api/workrelate/plan/doReference', 'POST', params);
}

export const deleteTemplate = params => {//删除
    return WeaTools.callApi('/api/workrelate/plan/deleteTemplate', 'POST', params);
}
export const getPlanSetupInit = params => { //getPlanSetupInit
    return WeaTools.callApi('/api/workrelate/plan/getPlanSetupInit', 'get', params);
}
